package com.cw.carwashstoress.feign;

import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "city", value = "carwash-city")
public interface CityFeignClient {
    
    /**
     * 获取城市信息
     */
    @GetMapping("/city/info/{cityId}")
    R getCityInfo(@PathVariable("cityId") Long cityId);
} 